package com.marvels.approve.loan.service;

import com.marvels.approve.loan.dto.LoanSamplingDTO;
import com.marvels.common.exception.MarvelsBusinessException;

/**
 * 征信审计服务
 * @author FJJF1
 *
 */
public interface ILoanSamplingService {
	/**查询征信审计阶段信息
	 * @throws MarvelsBusinessException
	 */
	public LoanSamplingDTO findSampling(LoanSamplingDTO loanSamplingDTO)throws MarvelsBusinessException;
	
	/**保存征信审计阶段信息
	 * @param loanSamplingDTO
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public LoanSamplingDTO saveSampling(LoanSamplingDTO loanSamplingDTO)throws MarvelsBusinessException;
	
	/**完成征信审计阶段信息
	 * @param loanSamplingDTO
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public LoanSamplingDTO complateSampling(LoanSamplingDTO loanSamplingDTO)throws MarvelsBusinessException;
	
	/**生成保险
	 * @param loanId
	 * @throws MarvelsBusinessException
	 */
	public void generateAssureBx(String loanId) throws MarvelsBusinessException;
}
